<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<link rel="stylesheet" href="cropper.min.css">
<body>
    <img class="img" src="http://gwai.oss-cn-shanghai.aliyuncs.com/web/2019/6/19/f02a683c3f6f340851dda5added72d90.jpg" alt="" sizes="" srcset="">
</body>
</html>
<script src="./js/cropper.min.js"></script>
<script>
    let img=document.querySelector('.img')
new Cropper(img)
</script>